package org.fig.ioc.bean.factory;

import org.fig.ioc.overview.domain.User;

/**
 * @Description:
 * @Author: Flynn Vanderboom
 * @Data: 2021/6/15 20:40
 */

public interface UserFactory {
    //默认实现
    default User createUser(){
        User user = new User();
        user.setName("花如盛世");
        user.setId(3);
        return user;
    }


}
